#include <iostream>
// climits 库包含了整形的限制信息
#include <climits>

using namespace std;

void outArr(int arr[], int len);
int main(){
	
	int arr[] = {1,4,2,99};
	int arr2[]{1, 4.0};
	
	cout << "arr: ";
	outArr(arr, sizeof (arr)/ sizeof (int));
	cout << "arr2: ";
	outArr(arr2, sizeof (arr2)/ sizeof (int));
	
	return 0;
}
void outArr(int* arr, int len){
	
	for(int i=0;i< len;i++){
		cout<< arr[i] <<  " ";
	}
	cout << endl;
}